<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>MQL编程参考文档</title>
    <link rel="stylesheet" href="css/style.css" type="text/css" media="screen">
</head>

<body>

<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4基础</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/367.html" target="_blank"><strong>Syntax - 语法</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/367.html#Comments" target="_blank">Comments - 注释</a></li> 
     <li><a href="content/367.html#Identifiers" target="_blank">Identifiers - 标识符</a></li> 
     <li><a href="content/367.html#Reserved_words" target="_blank">Reserved words - 保留字</a></li> 
    </ul> </li> 
   <li><a href="content/368.html" target="_blank"><strong>Data types - 数据类型</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/368.html#Type_casting" target="_blank">Type casting - 类型转换</a></li> 
     <li><a href="content/368.html#Integer_constants" target="_blank">Integer constants - 整型常量</a></li> 
     <li><a href="content/368.html#Literal_constants" target="_blank">Literal constants - 字符常量</a></li> 
     <li><a href="content/368.html#Boolean_constants" target="_blank">Boolean constants - 布尔型常量</a></li> 
     <li><a href="content/368.html#Double_constants" target="_blank">Floating-point number constants (double) - 浮点常量（双精度常量）</a></li> 
     <li><a href="content/368.html#String_constants" target="_blank">String constants - 字符串常量</a></li> 
     <li><a href="content/368.html#Color_constants" target="_blank">Color constants - 颜色常量</a></li> 
     <li><a href="content/368.html#Datetime_constants" target="_blank">Datetime constants - 时间日期常量</a></li> 
    </ul> </li> 
   <li><a href="content/369.html" target="_blank"><strong>Operations &amp; Expressions - 运算符和表达式</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/369.html#Expressions" target="_blank">Expressions - 表达式</a></li> 
     <li><a href="content/369.html#Arithmetical_operations" target="_blank">Arithmetical operations - 算术运算符</a></li> 
     <li><a href="content/369.html#Assignment_operation" target="_blank">Assignment operation - 赋值运算符</a></li> 
     <li><a href="content/369.html#Operations_of_relation" target="_blank">Operations of relation - 关系运算符</a></li> 
     <li><a href="content/369.html#Boolean_operations" target="_blank">Boolean operations - 布尔运算符</a></li> 
     <li><a href="content/369.html#Bitwise_operations" target="_blank">Bitwise operations - 位运算符</a></li> 
     <li><a href="content/369.html#Other_operations" target="_blank">Other operations - 其他运算符</a></li> 
     <li><a href="content/369.html#Precedence_rules" target="_blank">Precedence rules - 优先级规则</a></li> 
    </ul> </li> 
   <li><a href="content/370.html" target="_blank"><strong>Operators - 控制语句</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/370.html#Compound_operator" target="_blank">Compound operator - 语句块</a></li> 
     <li><a href="content/370.html#Expression_operator" target="_blank">Expression operator - 表达式操作符</a></li> 
     <li><a href="content/370.html#Break_operator" target="_blank">Break operator - break 语句</a></li> 
     <li><a href="content/370.html#Continue_operator" target="_blank">Continue operator - continue 语句</a></li> 
     <li><a href="content/370.html#Return_operator" target="_blank">Return operator - return 语句</a></li> 
     <li><a href="content/370.html#if_else_operator" target="_blank">Conditional operator if-else - if-else 语句</a></li> 
     <li><a href="content/370.html#Switch_operator" target="_blank">Switch operator - switch 语句</a></li> 
     <li><a href="content/370.html#while_operator" target="_blank">Cycle operator while - while 循环语句</a></li> 
     <li><a href="content/370.html#for_operator" target="_blank">Cycle operator for - for 循环语句</a></li> 
    </ul> </li> 
   <li><a href="content/371.html" target="_blank"><strong>Functions - 函数</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/371.html#Function_call" target="_blank">Function call - 函数调用</a></li> 
     <li><a href="content/371.html#Special_functions" target="_blank">Special functions - 特殊函数</a></li> 
    </ul> </li> 
   <li><a href="content/372.html" target="_blank"><strong>Variables - 变量</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/372.html#Local_variables" target="_blank">Local variables - 局部变量</a></li> 
     <li><a href="content/372.html#Formal_parameters" target="_blank">Formal parameters - 形式参数</a></li> 
     <li><a href="content/372.html#Static_variables" target="_blank">Static variables - 静态变量</a></li> 
     <li><a href="content/372.html#Global_variables" target="_blank">Global variables - 全局变量</a></li> 
     <li><a href="content/372.html#Defining_extern_variables" target="_blank">Defining extern variables - 定义外部变量</a></li> 
     <li><a href="content/372.html#Initialization_of_variables" target="_blank">Initialization of variables - 变量初始化</a></li> 
     <li><a href="content/372.html#External_functions_definition" target="_blank">External functions definition - 外部函数定义</a></li> 
    </ul> </li> 
   <li><a href="content/373.html" target="_blank"><strong>Preprocessor - 编译预处理</strong></a> 
    <ul class="list-9"> 
     <li><a href="content/373.html#Constant_declaration" target="_blank">Constant declaration - 预定义常量</a></li> 
     <li><a href="content/373.html#Controlling_compilation" target="_blank">Controlling compilation - 编译控制</a></li> 
     <li><a href="content/373.html#Including_of_files" target="_blank">Including of files - 文件包含</a></li> 
     <li><a href="content/373.html#Importing_of_functions" target="_blank">Importing of functions - 函数导入</a></li> 
    </ul> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4程序运行</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/380.html#Program Run" target="_blank">Program Run - 程序运行</a></li> 
   <li><a href="content/380.html#Imported_functions_call" target="_blank">Imported functions call - 导入函数调用</a></li> 
   <li><a href="content/381.html" target="_blank">Runtime errors - 运行时错误代码</a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4自定义指标编写函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/391.html#IndicatorBuffers" target="_blank">IndicatorBuffers() – 指标数据缓冲区</a> </li> 
   <li><a href="content/391.html#IndicatorCounted" target="_blank">IndicatorCounted() – 指标计数</a> </li> 
   <li><a href="content/391.html#IndicatorDigits" target="_blank">IndicatorDigits() – 设置指标精度</a> </li> 
   <li><a href="content/391.html#IndicatorShortName" target="_blank">IndicatorShortName() – 设置指标简称</a> </li> 
   <li><a href="content/391.html#SetIndexArrow" target="_blank">SetIndexArrow() – 设置指标箭头符号</a> </li> 
   <li><a href="content/391.html#SetIndexBuffer" target="_blank">SetIndexBuffer() – 设置指标缓冲区位置</a> </li> 
   <li><a href="content/392.html#SetIndexDrawBegin" target="_blank">SetIndexDrawBegin() – 设置指标线起始位置</a> </li> 
   <li><a href="content/392.html#SetIndexEmptyValue" target="_blank">SetIndexEmptyValue() – 设置图表画线空值</a> </li> 
   <li><a href="content/392.html#SetIndexLabel" target="_blank">SetIndexLabel() – 设置指标线标签</a> </li> 
   <li><a href="content/392.html#SetIndexShift" target="_blank">SetIndexShift() – 设置指标线偏移值</a> </li> 
   <li><a href="content/392.html#SetIndexStyle" target="_blank">SetIndexStyle() – 设置指标线样式</a> </li> 
   <li><a href="content/392.html#SetLevelStyle" target="_blank">SetLevelStyle() – 设置水平线样式</a> </li> 
   <li><a href="content/392.html#SetLevelValue" target="_blank">SetLevelValue() – 设置水平线值</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4日期时间处理函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/393.html#Year" target="_blank">Year() – 获取当前年份</a> </li> 
   <li><a href="content/393.html#Month" target="_blank">Month() – 获取当前月份</a> </li> 
   <li><a href="content/393.html#Day" target="_blank">Day() – 获取今日是本月第几天</a> </li> 
   <li><a href="content/393.html#DayOfWeek" target="_blank">DayOfWeek() – 获取今日是星期几</a> </li> 
   <li><a href="content/393.html#DayOfYear" target="_blank">DayOfYear() – 获取今日是本年第几天</a> </li> 
   <li><a href="content/393.html#Hour" target="_blank">Hour() – 获取当前小时数</a> </li> 
   <li><a href="content/393.html#Minute" target="_blank">Minute() – 获取当前分钟数</a> </li> 
   <li><a href="content/393.html#Seconds" target="_blank">Seconds() – 获取当前秒数</a> </li> 
   <li><a href="content/393.html#TimeCurrent" target="_blank">TimeCurrent() – 获取当前时间</a> </li> 
   <li><a href="content/394.html#TimeDay" target="_blank">TimeDay() – 获取指定日期中天数</a> </li> 
   <li><a href="content/394.html#TimeDayOfWeek" target="_blank">TimeDayOfWeek() – 获取指定日期是星期几</a> </li> 
   <li><a href="content/394.html#TimeDayOfYear" target="_blank">TimeDayOfYear() – 获取指定日期是一年中第几天</a> </li> 
   <li><a href="content/394.html#TimeHour" target="_blank">TimeHour() – 获取指定日期中小时数</a> </li> 
   <li><a href="content/394.html#TimeMinute" target="_blank">TimeMinute() – 获取指定时间中分钟数</a> </li> 
   <li><a href="content/394.html#TimeMonth" target="_blank">TimeMonth() – 获取指日期的月份</a> </li> 
   <li><a href="content/394.html#TimeSeconds" target="_blank">TimeSeconds() – 获取指时间中秒数</a> </li> 
   <li><a href="content/394.html#TimeYear" target="_blank">TimeYear() – 获取指定日期的年份</a> </li> 
   <li><a href="content/394.html#TimeLocal" target="_blank">TimeLocal() – 获取当前本地时间</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4文件操作函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/395.html#FileClose" target="_blank">FileClose() – 关闭文件 </a></li> 
   <li><a href="content/395.html#FileDelete" target="_blank">FileDelete() – 删除文件 </a></li> 
   <li><a href="content/395.html#FileFlush" target="_blank">FileFlush() – 清除文件缓冲区并存盘 </a></li> 
   <li><a href="content/395.html#FileIsEnding" target="_blank">FileIsEnding() – 判断文件指针是否到文件尾 </a></li> 
   <li><a href="content/395.html#FileIsLineEnding" target="_blank">FileIsLineEnding() – 判断文件指针是否指向行尾 </a></li> 
   <li><a href="content/395.html#FileOpen" target="_blank">FileOpen() – 打开文件 </a></li> 
   <li><a href="content/396.html#FileOpenHistory" target="_blank">FileOpenHistory() – 打开历史目录下文件 </a></li> 
   <li><a href="content/396.html#FileReadArray" target="_blank">FileReadArray() – 文件读取到数组 </a></li> 
   <li><a href="content/396.html#FileReadDouble" target="_blank">FileReadDouble() – 从文件读取浮点型数据 </a></li> 
   <li><a href="content/396.html#FileReadInteger" target="_blank">FileReadInteger() – 从文件读取整型数据 </a></li> 
   <li><a href="content/396.html#FileReadNumber" target="_blank">FileReadNumber() – 从文本文件读取数值 </a></li> 
   <li><a href="content/396.html#FileReadString" target="_blank">FileReadString() – 从文件读取字符串 </a></li> 
   <li><a href="content/396.html#FileSeek" target="_blank">FileSeek() – 移动文件指针 </a></li> 
   <li><a href="content/397.html#FileSize" target="_blank">FileSize() – 获取文件大小 </a></li> 
   <li><a href="content/397.html#FileTell" target="_blank">FileTell() – 获取文件指针位置 </a></li> 
   <li><a href="content/397.html#FileWrite" target="_blank">FileWrite() – 写入CSV文件 </a></li> 
   <li><a href="content/397.html#FileWriteArray" target="_blank">FileWriteArray() – 数组内容写入文件 </a></li> 
   <li><a href="content/397.html#FileWriteDouble" target="_blank">FileWriteDouble() – 双精度数值写入文件 </a></li> 
   <li><a href="content/397.html#FileWriteInteger" target="_blank">FileWriteInteger() – 整型数值写入文件 </a></li> 
   <li><a href="content/397.html#FileWriteString" target="_blank">FileWriteString() – 字符串写入文件 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4对象操作函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/402.html#ObjectCreate" target="_blank">ObjectCreate() – 创建对象 </a></li> 
   <li><a href="content/402.html#ObjectDelete" target="_blank">ObjectDelete() – 删除对象 </a></li> 
   <li><a href="content/402.html#ObjectDescription" target="_blank">ObjectDescription() – 获取对象描述 </a></li> 
   <li><a href="content/402.html#ObjectFind" target="_blank">ObjectFind() – 查找指定对象 </a></li> 
   <li><a href="content/402.html#ObjectGet" target="_blank">ObjectGet() – 获取指定对象的属性值 </a></li> 
   <li><a href="content/402.html#ObjectSet" target="_blank">ObjectSet() – 修改指定对象属性值 </a></li> 
   <li><a href="content/402.html#ObjectGetFiboDescription" target="_blank">ObjectGetFiboDescription() – 获取斐波纳契对象描述 </a></li> 
   <li><a href="content/402.html#ObjectSetFiboDescription" target="_blank">ObjectSetFiboDescription() – 设置斐波纳契对象描述 </a></li> 
   <li><a href="content/403.html#ObjectGetShiftByValue" target="_blank">ObjectGetShiftByValue() – 计算并返回柱体索引 </a></li> 
   <li><a href="content/403.html#ObjectGetValueByShift" target="_blank">ObjectGetValueByShift() – 计算并返回指定柱体价格值 </a></li> 
   <li><a href="content/403.html#ObjectMove" target="_blank">ObjectMove() – 移动对象 </a></li> 
   <li><a href="content/403.html#ObjectName" target="_blank">ObjectName() – 获取对象名 </a></li> 
   <li><a href="content/403.html#ObjectsDeleteAll" target="_blank">ObjectsDeleteAll() – 删除指定对象 </a></li> 
   <li><a href="content/403.html#ObjectSetText" target="_blank">ObjectSetText() – 设置对象描述 </a></li> 
   <li><a href="content/403.html#ObjectsTotal" target="_blank">ObjectsTotal() – 获取指定类型对象总数 </a></li> 
   <li><a href="content/403.html#ObjectType" target="_blank">ObjectType() – 获取对象类型 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4价格数据相关函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/409.html#iBars" target="_blank">iBars() – 获取柱体数 </a></li> 
   <li><a href="content/409.html#iBarShift" target="_blank">iBarShift() – 搜索指定柱体 </a></li> 
   <li><a href="content/409.html#iClose" target="_blank">iClose() – 获取柱体收盘价 </a></li> 
   <li><a href="content/409.html#iHigh" target="_blank">iHigh() – 获取柱体最高价 </a></li> 
   <li><a href="content/409.html#iHighest" target="_blank">iHighest() – 柱体最高值偏移量 </a></li> 
   <li><a href="content/409.html#iLow" target="_blank">iLow() – 获取柱体最低价 </a></li> 
   <li><a href="content/409.html#iLowest" target="_blank">iLowest() – 柱体最低值偏移量 </a></li> 
   <li><a href="content/409.html#iOpen" target="_blank">iOpen() – 获取柱体开盘价 </a></li> 
   <li><a href="content/409.html#iTime" target="_blank">iTime() – 获取柱体开盘时间 </a></li> 
   <li><a href="content/409.html#iVolume" target="_blank">iVolume() – 获取柱体成交量 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4预定义标准常量</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/374.html#Series_arrays" target="_blank">Series arrays - 序列化数组</a></li> 
   <li><a href="content/374.html#Timeframes" target="_blank">Timeframes - 图表时段</a></li> 
   <li><a href="content/374.html#Trade_operations" target="_blank">Trade operations - 交易类型</a></li> 
   <li><a href="content/374.html#Price_constants" target="_blank">Price constants - 价格常量</a></li> 
   <li><a href="content/374.html#MarketInfo" target="_blank">MarketInfo - 市场信息</a></li> 
   <li><a href="content/374.html#Drawing_styles" target="_blank">Drawing styles - 画线样式</a></li> 
   <li><a href="content/374.html#Arrow_codes" target="_blank">Arrow codes - 箭头代码</a></li> 
   <li><a href="content/375.html#Wingdings" target="_blank">Wingdings - Wingdings符号</a></li> 
   <li><a href="content/375.html#Web_color" target="_blank">Web colors - Web颜色名称</a></li> 
   <li><a href="content/375.html#Indicator_lines" target="_blank">Indicator lines - 指标线标示符</a></li> 
   <li><a href="content/375.html#Ichimoku_Kinko_Hyo" target="_blank">Ichimoku Kinko Hyo - Ichimoku Kinko Hyo指标线标示符</a></li> 
   <li><a href="content/375.html#Moving_Average_methods" target="_blank">Moving Average methods - 移动平均计算方法</a></li> 
   <li><a href="content/375.html#MessageBox" target="_blank">MessageBox - 信息框</a></li> 
   <li><a href="content/376.html#Object_types" target="_blank">Object types - 对象类型</a></li> 
   <li><a href="content/376.html#Object_properties" target="_blank">Object properties - 对象属性</a></li> 
   <li><a href="content/376.html#Object_visibility" target="_blank">Object visibility - 对象可视性</a></li> 
   <li><a href="content/377.html#Uninitialize_reason_codes" target="_blank">Uninitialize reason codes - 未初始化原因代码</a></li> 
   <li><a href="content/377.html#Special_constants" target="_blank">Special constants - 特殊常量</a></li> 
   <li><a href="content/377.html#Error_codes" target="_blank">Error codes - 错误代码</a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4账户信息相关函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/382.html#AccountBalance" target="_blank">AccountBalance() – 获取账户余额</a></li> 
   <li><a href="content/382.html#AccountCredit" target="_blank">AccountCredit() – 获取账户信用额度</a></li> 
   <li><a href="content/382.html#AccountCompany" target="_blank">AccountCompany() – 获取账户所在公司名称</a></li> 
   <li><a href="content/382.html#AccountCurrency" target="_blank">AccountCurrency() – 获取账户结算货币名称</a></li> 
   <li><a href="content/382.html#AccountEquity" target="_blank">AccountEquity() – 获取账户净值 </a></li> 
   <li><a href="content/382.html#AccountFreeMargin" target="_blank">AccountFreeMargin() – 获取账户可用保证金</a> </li> 
   <li><a href="content/382.html#AccountFreeMarginCheck" target="_blank">AccountFreeMarginCheck() – 检查账户可用保证金</a> </li> 
   <li><a href="content/382.html#AccountFreeMarginMode" target="_blank">AccountFreeMarginMode() – 可用保证金计算方式</a> </li> 
   <li><a href="content/382.html#AccountLeverage" target="_blank">AccountLeverage() – 获取账户杠杆比例</a> </li> 
   <li><a href="content/382.html#AccountMargin" target="_blank">AccountMargin() – 获取账户已用保证金</a> </li> 
   <li><a href="content/382.html#AccountName" target="_blank">AccountName() – 获取账户名</a> </li> 
   <li><a href="content/382.html#AccountNumber" target="_blank">AccountNumber() – 获取账户号码</a> </li> 
   <li><a href="content/382.html#AccountProfit" target="_blank">AccountProfit() – 获取账户盈利金额</a> </li> 
   <li><a href="content/382.html#AccountServer" target="_blank">AccountServer() – 获取账户连接的服务器名称</a> </li> 
   <li><a href="content/382.html#AccountStopoutLevel" target="_blank">AccountStopoutLevel() – 获取账户的止损水平设置</a> </li> 
   <li><a href="content/382.html#AccountStopoutMode" target="_blank">AccountStopoutMode() – 获取账户止损计算方式</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4数组处理相关函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/383.html#ArrayBsearch" target="_blank">ArrayBsearch() – 数组搜索</a></li> 
   <li><a href="content/383.html#ArrayCopy" target="_blank">ArrayCopy() – 数组复制 </a></li> 
   <li><a href="content/383.html#ArrayCopyRates" target="_blank">ArrayCopyRates() – 复制柱体(K线)数据到二维数组 </a></li> 
   <li><a href="content/383.html#ArrayCopySeries" target="_blank">ArrayCopySeries() – 复制柱体(K线)数据到一维数组 </a></li> 
   <li><a href="content/384.html#ArrayDimension" target="_blank">ArrayDimension() – 返回数组维数 </a></li> 
   <li><a href="content/384.html#ArrayGetAsSeries" target="_blank">ArrayGetAsSeries() – 判断序列数组 </a></li> 
   <li><a href="content/384.html#ArrayInitialize" target="_blank">ArrayInitialize() – 数组初始化 </a></li> 
   <li><a href="content/384.html#ArrayIsSeries" target="_blank">ArrayIsSeries() – 判断数组是否序列化 </a></li> 
   <li><a href="content/384.html#ArrayMaximum" target="_blank">ArrayMaximum() – 返回数组中最大值的位置 </a></li> 
   <li><a href="content/384.html#ArrayMinimum" target="_blank">ArrayMinimum() – 返回数组中最小值的位置 </a></li> 
   <li><a href="content/385.html#ArrayRange" target="_blank">ArrayRange() – 获取数组元素个数 </a></li> 
   <li><a href="content/385.html#ArrayResize" target="_blank">ArrayResize() – 重设数组大小 </a></li> 
   <li><a href="content/385.html#ArraySetAsSeries" target="_blank">ArraySetAsSeries() – 设置为序列化数组 </a></li> 
   <li><a href="content/385.html#ArraySize" target="_blank">ArraySize() – 获取数组大小 </a></li> 
   <li><a href="content/385.html#ArraySort" target="_blank">ArraySort() – 数组排序</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4数据类型转换函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/390.html#CharToStr" target="_blank">CharToStr() – ASCII码转换成字符串 </a></li> 
   <li><a href="content/390.html#DoubleToStr" target="_blank">DoubleToStr() – 浮点型数据转换成字符串 </a></li> 
   <li><a href="content/390.html#NormalizeDouble" target="_blank">NormalizeDouble() – 标准化双精度型数值</a> </li> 
   <li><a href="content/390.html#StrToDouble" target="_blank">StrToDouble() – 字符串型数据转换成浮点型</a> </li> 
   <li><a href="content/390.html#StrToInteger" target="_blank">StrToInteger() – 字符串数据转换成整型数值</a> </li> 
   <li><a href="content/390.html#StrToTime" target="_blank">StrToTime() – 字符串数据转换成日期时间</a> </li> 
   <li><a href="content/390.html#TimeToStr" target="_blank">TimeToStr() – 日期时间型数据转换成字符串</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4客户端全局变量</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/399.html#GlobalVariableCheck" target="_blank">GlobalVariableCheck() – 检查全局变量是否存在</a> </li> 
   <li><a href="content/399.html#GlobalVariableDel" target="_blank">GlobalVariableDel() – 删除全局变量</a> </li> 
   <li><a href="content/399.html#GlobalVariableGet" target="_blank">GlobalVariableGet() – 获取全局变量的值</a> </li> 
   <li><a href="content/399.html#GlobalVariableName" target="_blank">GlobalVariableName() – 获取指定索引的全局变量名</a> </li> 
   <li><a href="content/399.html#GlobalVariableSet" target="_blank">GlobalVariableSet() – 设置全局变量的值</a> </li> 
   <li><a href="content/399.html#GlobalVariableSetOnCondition" target="_blank">GlobalVariableSetOnCondition() – 根据条件设置全局变量值</a> </li> 
   <li><a href="content/399.html#GlobalVariablesDeleteAll" target="_blank">GlobalVariablesDeleteAll() – 删除全部全局变量</a> </li> 
   <li><a href="content/399.html#GlobalVariablesTotal" target="_blank">GlobalVariablesTotal() – 获取全局变量总数</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4字符串处理函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/404.html#StringConcatenate" target="_blank">StringConcatenate() – 字符串连接 </a></li> 
   <li><a href="content/404.html#StringFind" target="_blank">StringFind() – 字符串搜索 </a></li> 
   <li><a href="content/404.html#StringGetChar" target="_blank">StringGetChar() – 获取字符串中指定字符ASCII值</a> </li> 
   <li><a href="content/404.html#StringLen" target="_blank">StringLen() – 获取字符串长度</a> </li> 
   <li><a href="content/404.html#StringSetChar" target="_blank">StringSetChar() – 替换字符串中字符</a> </li> 
   <li><a href="content/404.html#StringSubstr" target="_blank">StringSubstr() – 字符串截取</a> </li> 
   <li><a href="content/404.html#StringTrimLeft" target="_blank">StringTrimLeft() – 删除字符串前字符</a> </li> 
   <li><a href="content/404.html#StringTrimRight" target="_blank">StringTrimRight() – 删除字符串后字符</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4交易处理函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/414.html" target="_blank">MQL4交易函数常见错误代码及处理意见</a></li> 
   <li><a href="content/412.html#OrderSelect" target="_blank">OrderSelect() – 选择订单 </a></li> 
   <li><a href="content/412.html#OrderClose" target="_blank">OrderClose() – 平仓 </a></li> 
   <li><a href="content/412.html#OrderCloseBy" target="_blank">OrderCloseBy() – 相反头寸平仓 </a></li> 
   <li><a href="content/412.html#OrderClosePrice" target="_blank">OrderClosePrice() – 获取订单平仓价格 </a></li> 
   <li><a href="content/412.html#OrderCloseTime" target="_blank">OrderCloseTime() – 获取订单平仓时间 </a></li> 
   <li><a href="content/412.html#OrderComment" target="_blank">OrderComment() – 获取订单注释 </a></li> 
   <li><a href="content/412.html#OrderCommission" target="_blank">OrderCommission() – 获取订单佣金数额 </a></li> 
   <li><a href="content/412.html#OrderDelete" target="_blank">OrderDelete() – 删除挂单 </a></li> 
   <li><a href="content/412.html#OrderExpiration" target="_blank">OrderExpiration() – 获取挂单有效时间 </a></li> 
   <li><a href="content/412.html#OrderLots" target="_blank">OrderLots() – 获取订单交易手数 </a></li> 
   <li><a href="content/412.html#OrderMagicNumber" target="_blank">OrderMagicNumber() – 获取订单魔术编号 </a></li> 
   <li><a href="content/412.html#OrderModify" target="_blank">OrderModify() – 修改订单 </a></li> 
   <li><a href="content/413.html#OrderOpenPrice" target="_blank">OrderOpenPrice() – 获取订单开仓价格 </a></li> 
   <li><a href="content/413.html#OrderOpenTime" target="_blank">OrderOpenTime() – 获取订单开仓时间 </a></li> 
   <li><a href="content/413.html#OrderPrint" target="_blank">OrderPrint() – 打印订单信息 </a></li> 
   <li><a href="content/413.html#OrderProfit" target="_blank">OrderProfit() – 获取订单盈利金额 </a></li> 
   <li><a href="content/413.html#OrderSend" target="_blank">OrderSend() – 发出订单 </a></li> 
   <li><a href="content/413.html#OrdersHistoryTotal" target="_blank">OrdersHistoryTotal() – 获取历史订单总数 </a></li> 
   <li><a href="content/413.html#OrderStopLoss" target="_blank">OrderStopLoss() – 获取订单止损值 </a></li> 
   <li><a href="content/413.html#OrdersTotal" target="_blank">OrdersTotal() – 获取订单总数 </a></li> 
   <li><a href="content/413.html#OrderSwap" target="_blank">OrderSwap() – 获取订单掉期值 </a></li> 
   <li><a href="content/413.html#OrderSymbol" target="_blank">OrderSymbol() – 获取订单交易品种 </a></li> 
   <li><a href="content/413.html#OrderTakeProfit" target="_blank">OrderTakeProfit() – 获取订单止盈值 </a></li> 
   <li><a href="content/413.html#OrderTicket" target="_blank">OrderTicket() – 获取订单的订单编号 </a></li> 
   <li><a href="content/413.html#OrderType" target="_blank">OrderType() – 获取订单交易类型 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4预定义变量</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/378.html#Ask" target="_blank">Ask - 获取最新卖价</a></li> 
   <li><a href="content/378.html#Bid" target="_blank">Bid - 获取最新买价</a></li> 
   <li><a href="content/378.html#Bars" target="_blank">Bars - 获取图表柱数</a></li> 
   <li><a href="content/378.html#Digits" target="_blank">Digits - 获取货币对小数位数</a></li> 
   <li><a href="content/378.html#Point" target="_blank">Point - 获取货币对点值</a></li> 
   <li><a href="content/379.html#Close" target="_blank">Close[ ] - 获取每个柱体(K线)的收盘价</a></li> 
   <li><a href="content/379.html#Open" target="_blank">Open[ ] - 获取每个柱体(K线)的开盘价</a></li> 
   <li><a href="content/379.html#High" target="_blank">High[ ] - 获取每个柱体(K线)的最高价</a></li> 
   <li><a href="content/379.html#Low" target="_blank">Low[ ] - 获取每个柱体(K线)的最低价</a></li> 
   <li><a href="content/379.html#Time" target="_blank">Time[ ] - 获取每个柱体(K线)的开盘时间</a></li> 
   <li><a href="content/379.html#Volume" target="_blank">Volume[ ] - 获取每个柱体(K线)的成交量</a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4客户端信息相关函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/387.html#TerminalCompany" target="_blank">TerminalCompany() – 获取客户端所属公司名称</a> </li> 
   <li><a href="content/387.html#TerminalName" target="_blank">TerminalName() – 获取客户端名称</a> </li> 
   <li><a href="content/387.html#TerminalPath" target="_blank">TerminalPath() – 获取客户端文件目录路径</a> </li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4客户端状态检测相关函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/386.html#GetLastError" target="_blank">GetLastError() – 获取最新产生的错误信息 </a></li> 
   <li><a href="content/386.html#IsConnected" target="_blank">IsConnected() – 判断连接状态 </a></li> 
   <li><a href="content/386.html#IsDemo" target="_blank">IsDemo() – 判断是否是模拟账户 </a></li> 
   <li><a href="content/386.html#IsDllsAllowed" target="_blank">IsDllsAllowed() – 判断是否允许调用DLL函数 </a></li> 
   <li><a href="content/386.html#IsExpertEnabled" target="_blank">IsExpertEnabled() – 判断智能交易是否开启 </a></li> 
   <li><a href="content/386.html#IsLibrariesAllowed" target="_blank">IsLibrariesAllowed() – 判断是否允许调用库函数 </a></li> 
   <li><a href="content/386.html#IsOptimization" target="_blank">IsOptimization() – 判断是否在优化模式中运行 </a></li> 
   <li><a href="content/386.html#IsStopped" target="_blank">IsStopped() – 判断智能交易是否中止 </a></li> 
   <li><a href="content/386.html#IsTesting" target="_blank">IsTesting() – 判断是否在测试模式中运行 </a></li> 
   <li><a href="content/386.html#IsTradeAllowed" target="_blank">IsTradeAllowed() – 判断是否允许交易 </a></li> 
   <li><a href="content/386.html#IsTradeContextBusy" target="_blank">IsTradeContextBusy() – 判断交易是否忙 </a></li> 
   <li><a href="content/386.html#IsVisualMode" target="_blank">IsVisualMode() – 判断是否在可视模式下测试 </a></li> 
   <li><a href="content/386.html#UninitializeReason" target="_blank">UninitializeReason() – 获取未初始化原因</a> </li> 
  </ul> 
 </div>
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4常规函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/388.html#Alert" target="_blank">Alert() – 弹出警告窗口 </a></li> 
   <li><a href="content/388.html#Comment" target="_blank">Comment() – 图表上显示信息 </a></li> 
   <li><a href="content/388.html#Print" target="_blank">Print() – 输出文本信息 </a></li> 
   <li><a href="content/388.html#PlaySound" target="_blank">PlaySound() – 播放声音文件 </a></li> 
   <li><a href="content/388.html#MarketInfo" target="_blank">MarketInfo() – 获取市场相关信息 </a></li> 
   <li><a href="content/389.html#GetTickCount" target="_blank">GetTickCount() – 获取运行时间 </a></li> 
   <li><a href="content/389.html#MessageBox" target="_blank">MessageBox() – 显示信息框 </a></li> 
   <li><a href="content/389.html#SendFTP" target="_blank">SendFTP() – 发送文件到FTP服务器 </a></li> 
   <li><a href="content/389.html#SendMail" target="_blank">SendMail() – 发送电子邮件 </a></li> 
   <li><a href="content/389.html#SendNotification" target="_blank">SendNotification() – 发送推送通知 </a></li> 
   <li><a href="content/389.html#Sleep" target="_blank">Sleep() – 程序暂停运行 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4数学和三角函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/400.html#MathAbs" target="_blank">MathAbs() – 求绝对值 </a></li> 
   <li><a href="content/400.html#MathArccos" target="_blank">MathArccos() – 求反余弦 </a></li> 
   <li><a href="content/400.html#MathArcsin" target="_blank">MathArcsin() – 求反正弦 </a></li> 
   <li><a href="content/400.html#MathArctan" target="_blank">MathArctan() – 求反正切 </a></li> 
   <li><a href="content/400.html#MathCeil" target="_blank">MathCeil() – 取最小整数 </a></li> 
   <li><a href="content/400.html#MathCos" target="_blank">MathCos() – 求余弦 </a></li> 
   <li><a href="content/400.html#MathExp" target="_blank">MathExp() – 求e的幂 </a></li> 
   <li><a href="content/400.html#MathFloor" target="_blank">MathFloor() – 取最大整数 </a></li> 
   <li><a href="content/400.html#MathLog" target="_blank">MathLog() – 求自然对数 </a></li> 
   <li><a href="content/401.html#MathMax" target="_blank">MathMax() – 求最大值 </a></li> 
   <li><a href="content/401.html#MathMin" target="_blank">MathMin() – 求最小值 </a></li> 
   <li><a href="content/401.html#MathMod" target="_blank">MathMod() – 求模 </a></li> 
   <li><a href="content/401.html#MathPow" target="_blank">MathPow() – 求幂 </a></li> 
   <li><a href="content/401.html#MathRand" target="_blank">MathRand() – 获取随机整数 </a></li> 
   <li><a href="content/401.html#MathRound" target="_blank">MathRound() – 求四舍五入值 </a></li> 
   <li><a href="content/401.html#MathSin" target="_blank">MathSin() – 求正弦 </a></li> 
   <li><a href="content/401.html#MathSqrt" target="_blank">MathSqrt() – 求平方根 </a></li> 
   <li><a href="content/401.html#MathSrand" target="_blank">MathSrand() – 随机数设置 </a></li> 
   <li><a href="content/401.html#MathTan" target="_blank">MathTan() – 求正切 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4技术指标相关函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/405.html#iAC" target="_blank">iAC() – 加速震荡指标 </a></li> 
   <li><a href="content/405.html#iAD" target="_blank">iAD() – 离散指标 </a></li> 
   <li><a href="content/405.html#iAlligator" target="_blank">iAlligator() – 鳄鱼指标 </a></li> 
   <li><a href="content/405.html#iADX" target="_blank">iADX() – ADX指标 </a></li> 
   <li><a href="content/405.html#iATR" target="_blank">iATR() – ATR指标 </a></li> 
   <li><a href="content/405.html#iAO" target="_blank">iAO() – 动量震荡指标 </a></li> 
   <li><a href="content/405.html#iBearsPower" target="_blank">iBearsPower() – 熊力指标 </a></li> 
   <li><a href="content/405.html#iBands" target="_blank">iBands() – 布林线指标 </a></li> 
   <li><a href="content/405.html#iBandsOnArray" target="_blank">iBandsOnArray() – 基于数组计算布林线指标 </a></li> 
   <li><a href="content/406.html#iBullsPower" target="_blank">iBullsPower() – 牛力指标 </a></li> 
   <li><a href="content/406.html#iCCI" target="_blank">iCCI() – CCI指标 </a></li> 
   <li><a href="content/406.html#iCCIOnArray" target="_blank">iCCIOnArray() – 基于数组计算CCI指标 </a></li> 
   <li><a href="content/406.html#iCustom" target="_blank">iCustom() – 自定义指标 </a></li> 
   <li><a href="content/406.html#iDeMarker" target="_blank">iDeMarker() – DeMarker指标 </a></li> 
   <li><a href="content/406.html#iEnvelopes" target="_blank">iEnvelopes() – Envelopes包络线指标 </a></li> 
   <li><a href="content/406.html#iEnvelopesOnArray" target="_blank">iEnvelopesOnArray() – 基于数组计算包络线指标 </a></li> 
   <li><a href="content/407.html#iForce" target="_blank">iForce() – 强力指标 </a></li> 
   <li><a href="content/407.html#iFractals" target="_blank">iFractals() – 分型指标 </a></li> 
   <li><a href="content/407.html#iGator" target="_blank">iGator() – 鳄鱼振荡指标 </a></li> 
   <li><a href="content/407.html#iIchimoku" target="_blank">iIchimoku() – Ichimoku云图指标 </a></li> 
   <li><a href="content/407.html#iBWMFI" target="_blank">iBWMFI() – BWMFI指标 </a></li> 
   <li><a href="content/407.html#iMomentum" target="_blank">iMomentum() – 动量指标 </a></li> 
   <li><a href="content/407.html#iMomentumOnArray" target="_blank">iMomentumOnArray() – 基于数组计算动量指标 </a></li> 
   <li><a href="content/408.html#iMFI" target="_blank">iMFI() – 资金流量指标 </a></li> 
   <li><a href="content/408.html#iMA" target="_blank">iMA() – 移动平均线 </a></li> 
   <li><a href="content/408.html#iMAOnArray" target="_blank">iMAOnArray() – 基于数组计算移动平均线 </a></li> 
   <li><a href="content/408.html#iOsMA" target="_blank">iOsMA() – OsMA指标 </a></li> 
   <li><a href="content/408.html#iMACD" target="_blank">iMACD() – MACD指标 </a></li> 
   <li><a href="content/408.html#iOBV" target="_blank">iOBV() – OBV指标 </a></li> 
   <li><a href="content/408.html#iSAR" target="_blank">iSAR() – SAR抛物线指标 </a></li> 
   <li><a href="content/408.html#iRSI" target="_blank">iRSI() – RSI指标 </a></li> 
   <li><a href="content/408.html#iRSIOnArray" target="_blank">iRSIOnArray() – 基于数组计算RSI指标 </a></li> 
   <li><a href="content/408.html#iRVI" target="_blank">iRVI() – RVI指标 </a></li> 
   <li><a href="content/408.html#iStdDev" target="_blank">iStdDev() – 标准差指标 </a></li> 
   <li><a href="content/408.html#iStdDevOnArray" target="_blank">iStdDevOnArray() – 基于数组计算标准差 </a></li> 
   <li><a href="content/408.html#iStochastic" target="_blank">iStochastic() – 随机震荡指标(KDJ) </a></li> 
   <li><a href="content/408.html#iWPR" target="_blank">iWPR() – WPR指标(%R) </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div class="item"> 
 <h2 class="toggle"><a href="#">MQL4窗口数据处理函数</a></h2> 
 <div class="toggle_content"> 
  <ul class="list-10"> 
   <li><a href="content/410.html#HideTestIndicators" target="_blank">HideTestIndicators() – 隐藏测试指标 </a></li> 
   <li><a href="content/410.html#Period" target="_blank">Period() – 获取图表时段 </a></li> 
   <li><a href="content/410.html#RefreshRates" target="_blank">RefreshRates() – 刷新数据 </a></li> 
   <li><a href="content/410.html#Symbol" target="_blank">Symbol() – 获取图表货币对名称 </a></li> 
   <li><a href="content/410.html#WindowBarsPerChart" target="_blank">WindowBarsPerChart() – 获取图表中柱体总数 </a></li> 
   <li><a href="content/410.html#WindowExpertName" target="_blank">WindowExpertName() – 获取图表上程序名称 </a></li> 
   <li><a href="content/410.html#WindowFind" target="_blank">WindowFind() – 搜索图表上指标 </a></li> 
   <li><a href="content/410.html#WindowFirstVisibleBar" target="_blank">WindowFirstVisibleBar() – 获取图表上第一个显示的柱体 </a></li> 
   <li><a href="content/410.html#WindowHandle" target="_blank">WindowHandle() – 获取图表句柄 </a></li> 
   <li><a href="content/410.html#WindowIsVisible" target="_blank">WindowIsVisible() – 图表是否可见 </a></li> 
   <li><a href="content/411.html#WindowOnDropped" target="_blank">WindowOnDropped() – 获取窗口索引 </a></li> 
   <li><a href="content/411.html#WindowPriceMax" target="_blank">WindowPriceMax() – 获取窗口纵坐标刻度最大值 </a></li> 
   <li><a href="content/411.html#WindowPriceMin" target="_blank">WindowPriceMin() – 获取窗口纵坐标刻度最小值 </a></li> 
   <li><a href="content/411.html#WindowPriceOnDropped" target="_blank">WindowPriceOnDropped() – 获取下滑价格 </a></li> 
   <li><a href="content/411.html#WindowRedraw" target="_blank">WindowRedraw() – 重绘当前图表 </a></li> 
   <li><a href="content/411.html#WindowScreenShot" target="_blank">WindowScreenShot() – 窗口图表快照 </a></li> 
   <li><a href="content/411.html#WindowTimeOnDropped" target="_blank">WindowTimeOnDropped() – 价格下滑时间 </a></li> 
   <li><a href="content/411.html#WindowsTotal" target="_blank">WindowsTotal() – 获取指标窗口数 </a></li> 
   <li><a href="content/411.html#WindowXOnDropped" target="_blank">WindowXOnDropped() – x轴下滑像素值 </a></li> 
   <li><a href="content/411.html#WindowYOnDropped" target="_blank">WindowYOnDropped() – y轴下滑像素值 </a></li> 
  </ul> 
 </div> 
 <div class="clear"></div> 
</div>
<div>
    本文由鸡哥整理，欢迎跟我探讨MQL编程。QQ:4腰零8陆7九九7
</div>
</body>
</html>